package com.ldk.springboot2021.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.io.Serializable;

//与tb_order表进行映射
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Order implements Serializable {//序列化接口，空接口
    //Serializable序列化接口  空接口  标记着这个类可以被序列化
    private Integer orderId;
    private String orderName;
    private String orderType;
    private String price;

}
